package org.jeecg.modules.golf.user.client;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author jiguansheng
 * @date 2020/12/18
 **/
@Getter
@Setter
public abstract class Bracket {


    /**
     * 年龄段开始
     */
    @ApiModelProperty("范围段开始")
    protected Integer bracketStart;
    /**
     * 年龄段
     */
    @ApiModelProperty("范围段结束")
    protected Integer bracketEnd;

    protected Integer persons;



    public Bracket(){
        persons = 0;
    }

    public abstract Integer getValue();


    public Integer getBracketStart() {
        return bracketStart;
    }

    public void setBracketStart(Integer bracketStart) {
        this.bracketStart = bracketStart;
    }

    public Integer getBracketEnd() {
        return bracketEnd;
    }

    public void setBracketEnd(Integer bracketEnd) {
        this.bracketEnd = bracketEnd;
    }

    public Integer getPersons() {
        return persons;
    }

    public void setPersons(Integer persons) {
        this.persons = persons;
    }




}
